package com.yanqu.road.entity.cricket.config;

public class CricketCourtConfig {

    /**
     * 赛场id
     */
    private int courtId;

    /**
     * 渠道id
     */
    private int channelId;

    /**
     * 赛场类型
     */
    private int courtType;

    /**
     * 赛场名
     */
    private String courtName = "";

    /**
     * 场次区服范围
     */
    private int fightRangeServer;

    /**
     * 开服天数配置
     */
    private String fightRangeDay = "";

    /**
     * 每组最大人数
     */
    private int num;

    /**
     * 组数限制
     */
    private int groupLimit;

    /**
     * 每轮晋级人数
     */
    private int upNum;

    /**
     * 每轮保留人数
     */
    private int keepNum;

    /**
     * 结算奖励（胜利|失败）
     */
    private String reward = "";

    /**
     * 排行榜奖励
     */
    private String rankReward = "";


    /**
     * 赛场开关
     */
    private int courtState;


    /**
     * 分组余数上限
     */
    private int modLimit;


    public CricketCourtConfig() {

    }

    public int getCourtId() {
        return courtId;
    }

    public void setCourtId(int courtId) {
        this.courtId = courtId;
    }

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public int getCourtType() {
        return courtType;
    }

    public void setCourtType(int courtType) {
        this.courtType = courtType;
    }

    public String getCourtName() {
        return courtName;
    }

    public void setCourtName(String courtName) {
        this.courtName = courtName;
    }

    public int getFightRangeServer() {
        return fightRangeServer == -1 ? 999999 : fightRangeServer;
    }

    public void setFightRangeServer(int fightRangeServer) {
        this.fightRangeServer = fightRangeServer;
    }

    public String getFightRangeDay() {
        return fightRangeDay;
    }

    public void setFightRangeDay(String fightRangeDay) {
        this.fightRangeDay = fightRangeDay;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getGroupLimit() {
        return groupLimit;
    }

    public void setGroupLimit(int groupLimit) {
        this.groupLimit = groupLimit;
    }

    public int getUpNum() {
        return upNum;
    }

    public void setUpNum(int upNum) {
        this.upNum = upNum;
    }

    public int getKeepNum() {
        return keepNum;
    }

    public void setKeepNum(int keepNum) {
        this.keepNum = keepNum;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public String getRankReward() {
        return rankReward;
    }

    public void setRankReward(String rankReward) {
        this.rankReward = rankReward;
    }

    public int getCourtState() {
        return courtState;
    }

    public void setCourtState(int courtState) {
        this.courtState = courtState;
    }

    public int getModLimit() {
        return modLimit;
    }

    public void setModLimit(int modLimit) {
        this.modLimit = modLimit;
    }
}
